package com.weixing.mall.provider.api.fallback;

import com.weixing.mall.base.wrapper.Result;
import com.weixing.mall.base.wrapper.ResultUtil;
import com.weixing.mall.provider.api.model.vo.SealMatchRuleVo;
import com.weixing.mall.provider.api.service.SealMathRuleServiceRpc;
import org.springframework.stereotype.Component;

/**
 * @Author wx
 * @Date 2019/12/5 17:07
 * @Version 1.0
 */
@Component
public class SealMathRuleFallback implements SealMathRuleServiceRpc {
    @Override
    public Result<SealMatchRuleVo> getById(Long id) {
        return ResultUtil.error("服务不可用");
    }
}
